//
//  ViewController.m
//  OCDemo
//
//  Created by 悦 on 2017/5/23.
//  Copyright © 2017年 悦. All rights reserved.
//

#import "ViewController.h"
#import "PaintingViewController.h"

@interface ViewController ()
@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor orangeColor];
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{

    PaintingViewController *paintVC = [PaintingViewController new];
    
    [self presentViewController:paintVC animated:YES completion:^{
        
    }];
    
}

@end
